package com.etung.iot.demo.boxConfig;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@ApiModel(value = "线性变换配置")
public class LinearSetting {
    @ApiModelProperty(notes = "是否启用线性换算")
    private Boolean isLinear;
    @ApiModelProperty(notes = "输入最小值")
    private String inMin;
    @ApiModelProperty(notes = "输入最大值")
    private String inMax;
    @ApiModelProperty(notes = "输出最小值")
    private String outMin;
    @ApiModelProperty(notes = "输出最大值")
    private String outMax;
    @ApiModelProperty(notes = "输出数据类型")
    private String dataType;
}
